from meiduo_admin.mypackage import *

class OptionViewSet(ModelViewSet):
    queryset = SpecificationOption.objects.all()
    serializer_class = SpecOptionModelSerializer
    pagination_class = MyPage

class SpecSimpleView(ListAPIView):
    queryset = SPUSpecification.objects.all()
    serializer_class = SpecSerializer